const electronLocalshortcut = require('electron-localshortcut');

module.exports = function registerShortcut(win) {
    electronLocalshortcut.register(win, 'F12', () => {
        win.toggleDevTools();
        console.log(win.webContents.getFocusedWebContents && win.webContents.getFocusedWebContents());
    });
}
